package com.ruoyi.life.mapper;

import com.ruoyi.omp.api.domain.FeApartment;
import com.ruoyi.omp.api.domain.vo.RoomVO;

import java.util.List;

/**
 * 公寓租赁费用Mapper接口
 *
 * @author cjie
 * @date 2021-09-17
 */
public interface FeApartmentMapper {
    /**
     * 查询公寓租赁费用
     *
     * @param apartmentFeeId 公寓租赁费用ID
     * @return 公寓租赁费用
     */
     FeApartment selectFeApartmentById(String apartmentFeeId);

    /**
     * 查询公寓租赁费用列表
     *
     * @param feApartment 公寓租赁费用
     * @return 公寓租赁费用集合
     */
     List<FeApartment> selectFeApartmentList(FeApartment feApartment);

    /**
     * 新增公寓租赁费用
     *
     * @param feApartment 公寓租赁费用
     * @return 结果
     */
     int insertFeApartment(FeApartment feApartment);

    /**
     * 修改公寓租赁费用
     *
     * @param feApartment 公寓租赁费用
     * @return 结果
     */
     int updateFeApartment(FeApartment feApartment);

    /**
     * 删除公寓租赁费用
     *
     * @param id 公寓租赁费用ID
     * @return 结果
     */
     int deleteFeApartmentById(String id);

    /**
     * 批量删除公寓租赁费用
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
     int deleteFeApartmentByIds(String[] ids);

    List<RoomVO> selectRoomByRecordId(String recordId);

    List<RoomVO> selectRoomLesaseDetailByRecordId(String recordId);


}
